package com.minivision.fdiot.entity;

import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import org.springframework.data.jpa.domain.support.AuditingEntityListener;

import javax.persistence.*;

@Entity
@Setter
@Getter
@ToString(callSuper = true)
@EntityListeners(AuditingEntityListener.class)
public class DeviceFaceSet extends BaseEntity {
  
  private static final long serialVersionUID = 610743298425298293L;
  
  @Column(unique = true, nullable = false)
  @ApiModelProperty(value = "设备编号")
  private String sn;
  @ApiModelProperty(value = "人脸库Token")
  private String faceSetToken;
  @ApiModelProperty(value = "人脸库优先级")
  private int priority;
}
